package com.chat.video;

import org.apache.dubbo.config.spring.context.annotation.EnableDubbo;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.context.annotation.ComponentScan;

/**
 * @author xiaoqiang
 * @version 1.0
 * @date 2020/8/4 10:29
 */
@EnableDubbo
@SpringBootApplication
@MapperScan("com.chat.video.mapper")
@EnableCaching
@ComponentScan(basePackages = {"com.chat"})
public class VideoApplication {
    public static void main(String[] args) {
        SpringApplication.run(VideoApplication.class,args);
    }
}
